package com.cxp.tour.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tour
 * @since 2024-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Hotel对象", description="")
public class Hotel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "酒店主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "酒店名称")
    private String name;

    @ApiModelProperty(value = "酒店封面")
    private String cover;

    @ApiModelProperty(value = "酒店地址")
    private String address;

    @ApiModelProperty(value = "酒店简介")
    private String concent;

    @ApiModelProperty(value = "酒店联系电话")
    private String concatPhone;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
